package com.ooqiu.gaming.api;


import com.ooqiu.gaming.api.base.BaseResponse;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;


/**
 * Created by Eenie on 2017/6/7.
 * Email: eeniework@gmail.com
 * Des:
 */

public interface FileService {


    @Multipart
    @POST("/v1/api/img/upload")
    Observable<BaseResponse> uploadImage(@Part MultipartBody.Part file);

}
